<template>
  <div>
    <el-row>
      <el-col :span="24">
        <div class="all-header">
          <div class="all-title">
            {{ title }}
          </div>
        </div>
      </el-col>
      <el-col :span="24">
        <div class="all-content">
          <slot name="content"></slot>
        </div>
      </el-col>
    </el-row>
  </div>
</template>
<script>
export default {
  name: "",
  components: {},
  mixins: [],
  props: {
    title: {
      type: String,
      default: "",
    },
  },
  data() {
    return {};
  },
  computed: {},
  watch: {},
  mounted() {},
  methods: {},
};
</script>
<style  scoped >
.all-header {
  height: 50px;
  width: 100%;
  .all-title {
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    position: relative;
    padding-left: 20px;
  }
  .all-title::before {
    content: "";
    position: absolute;
    top: 3px;
    left: 5px;
    width: 5px;
    height: 19px;
    background: #fff;
  }
}
</style>